package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author zxx
 * @date 2022年11月28日 14:55
 * @Description 外协运力表
 */
@EqualsAndHashCode(callSuper = true)
@TableName("carrier_cooperation_mapping")
@Data
public class CarrierCooperationMappingPO extends BasePO<CarrierCooperationMappingPO> {

    private Long id;
    @ApiModelProperty(value = "外协管理者id")
    @TableField("user_id")
    private Long userId;
    @ApiModelProperty(value = "司机id")
    @TableField("driver_id")
    private Long driverId;
    @ApiModelProperty(value = "车辆id")
    @TableField("vehicle_id")
    private Long vehicleId;
    @ApiModelProperty(value = "收纳状态")
    @TableField("invite_status")
    private Integer inviteStatus;
    @ApiModelProperty(value = "运力状态")
    @TableField("transport_status")
    private Integer transportStatus;
    @ApiModelProperty(value = "操作人ID")
    @TableField("update_user_id")
    private Integer updateUserId;
    @ApiModelProperty(value = "是否删除")
    @TableField("deleted")
    private Integer deleted;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;
    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;
}
